package com.cnap.model.schedule;

import com.cnap.model.schedule.engine.EngineClusterInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * 更新微服务部署集群的参数
 *
 * @author xc
 **/
@ApiModel
public class UpdateMicroserviceClusterParam {
    @ApiModelProperty(value = "服务id", required = true)
    private String svcId;
    @ApiModelProperty(value = "集群信息", required = true)
    private List<EngineClusterInfo> clusterInfos;

    /**
     * get
     *
     * @return SvcId
     */
    public String getSvcId() {
        return svcId;
    }

    /**
     * set
     *
     * @param svcId svcId
     */
    public void setSvcId(String svcId) {
        this.svcId = svcId;
    }

    /**
     * get
     *
     * @return ClusterInfos
     */
    public List<EngineClusterInfo> getClusterInfos() {
        return clusterInfos;
    }

    /**
     * set
     *
     * @param clusterInfos clusterInfos
     */
    public void setClusterInfos(List<EngineClusterInfo> clusterInfos) {
        this.clusterInfos = clusterInfos;
    }

    @Override
    public String toString() {
        return "UpdateMicroserviceClusterParam{" +
                "svcId='" + svcId + '\'' +
                ", clusterInfos=" + clusterInfos +
                '}';
    }
}
